package cn.tedu.controller.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import cn.tedu.controller.pojo.Car;
import cn.tedu.controller.pojo.CarService;

/**
 * @author SWJ
 * @create 2021-07-17 15:28
 */
@RestController
@RequestMapping("/car/")
public class CarController {

    @Autowired
    private CarService carService;

    @RequestMapping("get")
    public Car get() {
        return carService.get();
    }

}